module.exports = {
    devServer: {
        open: true,
        proxy: {
            '/api': {
                target: 'http://8.136.146.135:8080',
                changeOrigin: true,
                pathRewrite: {
                    '/api': ''
                }
            },
            '/zx': {
                target: 'http://8.136.146.135:7777',
                changeOrigin: true,
                pathRewrite: {
                    '/zx': ''
                },
                // logLevel: 'debug'     查看代理的真实地址
            },
            '/sdf': {
                target: 'http://8.136.146.135:8888',
                changeOrigin: true,
                pathRewrite: {
                    '/sdf': ''
                },
            }
        }
    }
}